package com.strato.saas.merchant.v1_0_0.jdbc.dao.mapper;

import com.strato.orm.mybatis.v1_0_0.annotation.MybatisMapper;
import com.strato.saas.merchant.v1_0_0.jdbc.model.MerchantInfo;
import com.strato.saas.merchant.v1_0_0.jdbc.model.MerchantInfoExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

@MybatisMapper
public interface MerchantInfoMapper {
    int countByExample(MerchantInfoExample example);

    int deleteByExample(MerchantInfoExample example);

    int deleteByPrimaryKey(String merchantId);

    int insert(MerchantInfo record);

    int insertSelective(MerchantInfo record);

    List<MerchantInfo> selectByExample(MerchantInfoExample example);

    MerchantInfo selectByPrimaryKey(String merchantId);

    int updateByExampleSelective(@Param("record") MerchantInfo record, @Param("example") MerchantInfoExample example);

    int updateByExample(@Param("record") MerchantInfo record, @Param("example") MerchantInfoExample example);

    int updateByPrimaryKeySelective(MerchantInfo record);

    int updateByPrimaryKey(MerchantInfo record);
}